Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-ExplanationOfBenefit4to5.html |
Url | http://hl7.org/fhir/StructureMap/ExplanationOfBenefit4to5 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | ExplanationOfBenefit4to5 |
Title | ExplanationOfBenefit Transforms: R4 to R5 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | ExplanationOfBenefitTransformsR4toR5 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/ExplanationOfBenefit4to5' /// name = 'ExplanationOfBenefit4to5' /// title = 'ExplanationOfBenefit Transforms: R4 to R5' /// status = 'active' uses "http://hl7.org/fhir/4.0/ExplanationOfBenefit" alias ExplanationOfBenefitR4 as source uses "http://hl7.org/fhir/5.0/ExplanationOfBenefit" alias ExplanationOfBenefitR5 as target imports "http://hl7.org/fhir/StructureMap/*4to5" group ExplanationOfBenefit(source src : ExplanationOfBenefitR4, target tgt : ExplanationOfBenefitR5) extends DomainResource <<type+>> { src.identifier -> tgt.identifier; src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/ExplanationOfBenefit.status-R4toR5', 'code'); src.type -> tgt.type; src.subType -> tgt.subType; src.use as v -> tgt.use = translate(v, 'http://hl7.org/fhir/ConceptMap/ExplanationOfBenefit.use-R4toR5', 'code'); src.patient -> tgt.patient; src.billablePeriod -> tgt.billablePeriod; src.created -> tgt.created; src.enterer -> tgt.enterer; src.insurer -> tgt.insurer; src.provider -> tgt.provider; src.priority -> tgt.priority; src.fundsReserveRequested -> tgt.fundsReserveRequested; src.fundsReserve -> tgt.fundsReserve; src.related as s -> tgt.related as t then ExplanationOfBenefitRelated(s, t); src.prescription -> tgt.prescription; src.originalPrescription -> tgt.originalPrescription; src.payee as s -> tgt.payee as t then ExplanationOfBenefitPayee(s, t); src.referral -> tgt.referral; src.facility -> tgt.facility; src.claim -> tgt.claim; src.claimResponse -> tgt.claimResponse; src.outcome as v -> tgt.outcome = translate(v, 'http://hl7.org/fhir/ConceptMap/ExplanationOfBenefit.outcome-R4toR5', 'code'); src.disposition -> tgt.disposition; src.preAuthRef -> tgt.preAuthRef; src.preAuthRefPeriod -> tgt.preAuthRefPeriod; src.careTeam as s -> tgt.careTeam as t then ExplanationOfBenefitCareTeam(s, t); src.supportingInfo as s -> tgt.supportingInfo as t then ExplanationOfBenefitSupportingInfo(s, t); src.diagnosis as s -> tgt.diagnosis as t then ExplanationOfBenefitDiagnosis(s, t); src.procedure as s -> tgt.procedure as t then ExplanationOfBenefitProcedure(s, t); src.precedence -> tgt.precedence; src.insurance as s -> tgt.insurance as t then ExplanationOfBenefitInsurance(s, t); src.accident as s -> tgt.accident as t then ExplanationOfBenefitAccident(s, t); src.item as s -> tgt.item as t then ExplanationOfBenefitItem(s, t); src.addItem as s -> tgt.addItem as t then ExplanationOfBenefitAddItem(s, t); src.total as s -> tgt.total as t then ExplanationOfBenefitTotal(s, t); src.payment as s -> tgt.payment as t then ExplanationOfBenefitPayment(s, t); src.formCode -> tgt.formCode; src.form -> tgt.form; src.processNote as s -> tgt.processNote as t then ExplanationOfBenefitProcessNote(s, t); src.benefitPeriod -> tgt.benefitPeriod; src.benefitBalance as s -> tgt.benefitBalance as t then ExplanationOfBenefitBenefitBalance(s, t); } group ExplanationOfBenefitRelated(source src, target tgt) extends BackboneElement { src.claim -> tgt.claim; src.relationship -> tgt.relationship; src.reference -> tgt.reference; } // group ExplanationOfBenefitEvent(source src, target tgt) extends BackboneElement { // src.type -> tgt.type; // src.when : dateTime -> tgt.when; // src.when : Period -> tgt.when; // } group ExplanationOfBenefitPayee(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.party -> tgt.party; } group ExplanationOfBenefitCareTeam(source src, target tgt) extends BackboneElement { src.sequence -> tgt.sequence; src.provider -> tgt.provider; src.responsible -> tgt.responsible; src.role -> tgt.role; src.qualification -> tgt.specialty; } group ExplanationOfBenefitSupportingInfo(source src, target tgt) extends BackboneElement { src.sequence -> tgt.sequence; src.category -> tgt.category; src.code -> tgt.code; src.timing : date -> tgt.timing; src.timing : Period -> tgt.timing; src.value : boolean -> tgt.value; src.value : string -> tgt.value; src.value : Quantity -> tgt.value; src.value : Attachment -> tgt.value; src.value : Reference -> tgt.value; src.reason -> tgt.reason; } group ExplanationOfBenefitDiagnosis(source src, target tgt) extends BackboneElement { src.sequence -> tgt.sequence; src.diagnosis : CodeableConcept -> tgt.diagnosis; src.diagnosis : Reference -> tgt.diagnosis; src.type -> tgt.type; src.onAdmission -> tgt.onAdmission; } group ExplanationOfBenefitProcedure(source src, target tgt) extends BackboneElement { src.sequence -> tgt.sequence; src.type -> tgt.type; src.date -> tgt.date; src.procedure : CodeableConcept -> tgt.procedure; src.procedure : Reference -> tgt.procedure; src.udi -> tgt.udi; } group ExplanationOfBenefitInsurance(source src, target tgt) extends BackboneElement { src.focal -> tgt.focal; src.coverage -> tgt.coverage; src.preAuthRef -> tgt.preAuthRef; } group ExplanationOfBenefitAccident(source src, target tgt) extends BackboneElement { src.date -> tgt.date; src.type -> tgt.type; src.location : Address -> tgt.location; src.location : Reference -> tgt.location; } group ExplanationOfBenefitItem(source src, target tgt) extends BackboneElement { src.sequence -> tgt.sequence; src.careTeamSequence -> tgt.careTeamSequence; src.diagnosisSequence -> tgt.diagnosisSequence; src.procedureSequence -> tgt.procedureSequence; src.informationSequence -> tgt.informationSequence; src.revenue -> tgt.revenue; src.category -> tgt.category; src.productOrService -> tgt.productOrService; src.modifier -> tgt.modifier; src.programCode -> tgt.programCode; src.serviced : date -> tgt.serviced; src.serviced : Period -> tgt.serviced; src.location : CodeableConcept -> tgt.location; src.location : Address -> tgt.location; src.location : Reference -> tgt.location; src.quantity -> tgt.quantity; src.unitPrice -> tgt.unitPrice; src.factor -> tgt.factor; src.net -> tgt.net; src.udi -> tgt.udi; src.bodySite as s -> tgt.bodySite as t, t.site = s; src.subSite as s -> tgt.bodySite as t, t.subSite = s; src.encounter -> tgt.encounter; src.noteNumber -> tgt.noteNumber; src.adjudication as s -> tgt.adjudication as t then ExplanationOfBenefitItemAdjudication(s, t); src.detail as s -> tgt.detail as t then ExplanationOfBenefitItemDetail(s, t); } // group ExplanationOfBenefitItemBodySite(source src, target tgt) extends BackboneElement { // src.site -> tgt.site; // src.subSite -> tgt.subSite; // } // group ExplanationOfBenefitItemReviewOutcome(source src, target tgt) extends BackboneElement { // src.decision -> tgt.decision; // src.reason -> tgt.reason; // src.preAuthRef -> tgt.preAuthRef; // src.preAuthPeriod -> tgt.preAuthPeriod; // } group ExplanationOfBenefitItemAdjudication(source src, target tgt) extends BackboneElement { src.category -> tgt.category; src.reason -> tgt.reason; src.amount -> tgt.amount; src.value as s -> tgt.quantity = create('Quantity') as t, t.value = s; } group ExplanationOfBenefitItemDetail(source src, target tgt) extends BackboneElement { src.sequence -> tgt.sequence; src.revenue -> tgt.revenue; src.category -> tgt.category; src.productOrService -> tgt.productOrService; src.modifier -> tgt.modifier; src.programCode -> tgt.programCode; src.quantity -> tgt.quantity; src.unitPrice -> tgt.unitPrice; src.factor -> tgt.factor; src.net -> tgt.net; src.udi -> tgt.udi; src.noteNumber -> tgt.noteNumber; src.subDetail as s -> tgt.subDetail as t then ExplanationOfBenefitItemDetailSubDetail(s, t); } group ExplanationOfBenefitItemDetailSubDetail(source src, target tgt) extends BackboneElement { src.sequence -> tgt.sequence; src.revenue -> tgt.revenue; src.category -> tgt.category; src.productOrService -> tgt.productOrService; src.modifier -> tgt.modifier; src.programCode -> tgt.programCode; src.quantity -> tgt.quantity; src.unitPrice -> tgt.unitPrice; src.factor -> tgt.factor; src.net -> tgt.net; src.udi -> tgt.udi; src.noteNumber -> tgt.noteNumber; } group ExplanationOfBenefitAddItem(source src, target tgt) extends BackboneElement { src.itemSequence -> tgt.itemSequence; src.detailSequence -> tgt.detailSequence; src.subDetailSequence -> tgt.subDetailSequence; src.provider -> tgt.provider; src.productOrService -> tgt.productOrService; src.modifier -> tgt.modifier; src.programCode -> tgt.programCode; src.serviced : date -> tgt.serviced; src.serviced : Period -> tgt.serviced; src.location : CodeableConcept -> tgt.location; src.location : Address -> tgt.location; src.location : Reference -> tgt.location; src.quantity -> tgt.quantity; src.unitPrice -> tgt.unitPrice; src.factor -> tgt.factor; src.net -> tgt.net; src.bodySite as s -> tgt.bodySite as t, t.site = s; src.subSite as s -> tgt.bodySite as t, t.subSite = s; src.noteNumber -> tgt.noteNumber; src.detail as s -> tgt.detail as t then ExplanationOfBenefitAddItemDetail(s, t); } // group ExplanationOfBenefitAddItemBodySite(source src, target tgt) extends BackboneElement { // src.site -> tgt.site; // src.subSite -> tgt.subSite; // } group ExplanationOfBenefitAddItemDetail(source src, target tgt) extends BackboneElement { src.productOrService -> tgt.productOrService; src.modifier -> tgt.modifier; src.quantity -> tgt.quantity; src.unitPrice -> tgt.unitPrice; src.factor -> tgt.factor; src.net -> tgt.net; src.noteNumber -> tgt.noteNumber; src.subDetail as s -> tgt.subDetail as t then ExplanationOfBenefitAddItemDetailSubDetail(s, t); } group ExplanationOfBenefitAddItemDetailSubDetail(source src, target tgt) extends BackboneElement { src.productOrService -> tgt.productOrService; src.modifier -> tgt.modifier; src.quantity -> tgt.quantity; src.unitPrice -> tgt.unitPrice; src.factor -> tgt.factor; src.net -> tgt.net; src.noteNumber -> tgt.noteNumber; } group ExplanationOfBenefitTotal(source src, target tgt) extends BackboneElement { src.category -> tgt.category; src.amount -> tgt.amount; } group ExplanationOfBenefitPayment(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.adjustment -> tgt.adjustment; src.adjustmentReason -> tgt.adjustmentReason; src.date -> tgt.date; src.amount -> tgt.amount; src.identifier -> tgt.identifier; } group ExplanationOfBenefitProcessNote(source src, target tgt) extends BackboneElement { src.number -> tgt.number; src.type as s where code = 'display' -> tgt.type = create('CodeableConcept') as tc, tc.coding = create('Coding') as tcc, tcc.system = 'http://hl7.org/fhir/note-type', tcc.code = 'display', tcc.display = 'display'; src.type as s where code = 'print' -> tgt.type = create('CodeableConcept') as tc, tc.coding = create('Coding') as tcc, tcc.system = 'http://hl7.org/fhir/note-type', tcc.code = 'print', tcc.display = 'Print (Form)'; src.type as s where code = 'printoper' -> tgt.type = create('CodeableConcept') as tc, tc.coding = create('Coding') as tcc, tcc.system = 'http://hl7.org/fhir/note-type', tcc.code = 'printoper', tcc.display = 'Print (Operator)'; src.text -> tgt.text; src.language -> tgt.language; } group ExplanationOfBenefitBenefitBalance(source src, target tgt) extends BackboneElement { src.category -> tgt.category; src.excluded -> tgt.excluded; src.name -> tgt.name; src.description -> tgt.description; src.network -> tgt.network; src.unit -> tgt.unit; src.term -> tgt.term; src.financial as s -> tgt.financial as t then ExplanationOfBenefitBenefitBalanceFinancial(s, t); } group ExplanationOfBenefitBenefitBalanceFinancial(source src, target tgt) extends BackboneElement { src.type -> tgt.type; src.allowed : unsignedInt -> tgt.allowed; src.allowed : string -> tgt.allowed; src.allowed : Money -> tgt.allowed; src.used : unsignedInt -> tgt.used; src.used : Money -> tgt.used; }
{
"resourceType" : "StructureMap",
"id" : "ExplanationOfBenefit4to5",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/ExplanationOfBenefit4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'ExplanationOfBenefit4to5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'ExplanationOfBenefit Transforms: R4 to R5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/4.0/ExplanationOfBenefit<span style=\"color: navy\">" </span><b>alias </b>ExplanationOfBenefitR4 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/5.0/ExplanationOfBenefit<span style=\"color: navy\">" </span><b>alias </b>ExplanationOfBenefitR5 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*4to5<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>ExplanationOfBenefit<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>ExplanationOfBenefitR4, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ExplanationOfBenefitR5<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n src.status<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.status = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/ExplanationOfBenefit.status-R4toR5'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.subType<span style=\"color: navy\"><b> -> </b></span>tgt.subType<span style=\"color: navy\">;</span>\r\n src.use<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.use = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/ExplanationOfBenefit.use-R4toR5'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.patient<span style=\"color: navy\"><b> -> </b></span>tgt.patient<span style=\"color: navy\">;</span>\r\n src.billablePeriod<span style=\"color: navy\"><b> -> </b></span>tgt.billablePeriod<span style=\"color: navy\">;</span>\r\n src.created<span style=\"color: navy\"><b> -> </b></span>tgt.created<span style=\"color: navy\">;</span>\r\n src.enterer<span style=\"color: navy\"><b> -> </b></span>tgt.enterer<span style=\"color: navy\">;</span>\r\n src.insurer<span style=\"color: navy\"><b> -> </b></span>tgt.insurer<span style=\"color: navy\">;</span>\r\n src.provider<span style=\"color: navy\"><b> -> </b></span>tgt.provider<span style=\"color: navy\">;</span>\r\n src.priority<span style=\"color: navy\"><b> -> </b></span>tgt.priority<span style=\"color: navy\">;</span>\r\n src.fundsReserveRequested<span style=\"color: navy\"><b> -> </b></span>tgt.fundsReserveRequested<span style=\"color: navy\">;</span>\r\n src.fundsReserve<span style=\"color: navy\"><b> -> </b></span>tgt.fundsReserve<span style=\"color: navy\">;</span>\r\n src.related<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.related<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitRelated<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.prescription<span style=\"color: navy\"><b> -> </b></span>tgt.prescription<span style=\"color: navy\">;</span>\r\n src.originalPrescription<span style=\"color: navy\"><b> -> </b></span>tgt.originalPrescription<span style=\"color: navy\">;</span>\r\n src.payee<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.payee<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitPayee<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.referral<span style=\"color: navy\"><b> -> </b></span>tgt.referral<span style=\"color: navy\">;</span>\r\n src.facility<span style=\"color: navy\"><b> -> </b></span>tgt.facility<span style=\"color: navy\">;</span>\r\n src.claim<span style=\"color: navy\"><b> -> </b></span>tgt.claim<span style=\"color: navy\">;</span>\r\n src.claimResponse<span style=\"color: navy\"><b> -> </b></span>tgt.claimResponse<span style=\"color: navy\">;</span>\r\n src.outcome<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span>tgt.outcome = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/ExplanationOfBenefit.outcome-R4toR5'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.disposition<span style=\"color: navy\"><b> -> </b></span>tgt.disposition<span style=\"color: navy\">;</span>\r\n src.preAuthRef<span style=\"color: navy\"><b> -> </b></span>tgt.preAuthRef<span style=\"color: navy\">;</span>\r\n src.preAuthRefPeriod<span style=\"color: navy\"><b> -> </b></span>tgt.preAuthRefPeriod<span style=\"color: navy\">;</span>\r\n src.careTeam<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.careTeam<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitCareTeam<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.supportingInfo<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.supportingInfo<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitSupportingInfo<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.diagnosis<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.diagnosis<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitDiagnosis<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.procedure<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.procedure<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitProcedure<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.precedence<span style=\"color: navy\"><b> -> </b></span>tgt.precedence<span style=\"color: navy\">;</span>\r\n src.insurance<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.insurance<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitInsurance<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.accident<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.accident<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitAccident<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.item<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.item<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitItem<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.addItem<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.addItem<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitAddItem<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.total<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.total<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitTotal<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.payment<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.payment<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitPayment<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.formCode<span style=\"color: navy\"><b> -> </b></span>tgt.formCode<span style=\"color: navy\">;</span>\r\n src.form<span style=\"color: navy\"><b> -> </b></span>tgt.form<span style=\"color: navy\">;</span>\r\n src.processNote<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.processNote<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitProcessNote<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.benefitPeriod<span style=\"color: navy\"><b> -> </b></span>tgt.benefitPeriod<span style=\"color: navy\">;</span>\r\n src.benefitBalance<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.benefitBalance<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitBenefitBalance<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ExplanationOfBenefitRelated<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.claim<span style=\"color: navy\"><b> -> </b></span>tgt.claim<span style=\"color: navy\">;</span>\r\n src.relationship<span style=\"color: navy\"><b> -> </b></span>tgt.relationship<span style=\"color: navy\">;</span>\r\n src.reference<span style=\"color: navy\"><b> -> </b></span>tgt.reference<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group ExplanationOfBenefitEvent(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.type -> tgt.type;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.when : dateTime -> tgt.when;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.when : Period -> tgt.when;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>ExplanationOfBenefitPayee<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.party<span style=\"color: navy\"><b> -> </b></span>tgt.party<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ExplanationOfBenefitCareTeam<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.sequence<span style=\"color: navy\"><b> -> </b></span>tgt.sequence<span style=\"color: navy\">;</span>\r\n src.provider<span style=\"color: navy\"><b> -> </b></span>tgt.provider<span style=\"color: navy\">;</span>\r\n src.responsible<span style=\"color: navy\"><b> -> </b></span>tgt.responsible<span style=\"color: navy\">;</span>\r\n src.role<span style=\"color: navy\"><b> -> </b></span>tgt.role<span style=\"color: navy\">;</span>\r\n src.qualification<span style=\"color: navy\"><b> -> </b></span>tgt.specialty<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ExplanationOfBenefitSupportingInfo<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.sequence<span style=\"color: navy\"><b> -> </b></span>tgt.sequence<span style=\"color: navy\">;</span>\r\n src.category<span style=\"color: navy\"><b> -> </b></span>tgt.category<span style=\"color: navy\">;</span>\r\n src.code<span style=\"color: navy\"><b> -> </b></span>tgt.code<span style=\"color: navy\">;</span>\r\n src.timing<span style=\"color: navy\"> : </span>date<span style=\"color: navy\"><b> -> </b></span>tgt.timing<span style=\"color: navy\">;</span>\r\n src.timing<span style=\"color: navy\"> : </span>Period<span style=\"color: navy\"><b> -> </b></span>tgt.timing<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>boolean<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>string<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Quantity<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Attachment<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -> </b></span>tgt.value<span style=\"color: navy\">;</span>\r\n src.reason<span style=\"color: navy\"><b> -> </b></span>tgt.reason<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ExplanationOfBenefitDiagnosis<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.sequence<span style=\"color: navy\"><b> -> </b></span>tgt.sequence<span style=\"color: navy\">;</span>\r\n src.diagnosis<span style=\"color: navy\"> : </span>CodeableConcept<span style=\"color: navy\"><b> -> </b></span>tgt.diagnosis<span style=\"color: navy\">;</span>\r\n src.diagnosis<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -> </b></span>tgt.diagnosis<span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.onAdmission<span style=\"color: navy\"><b> -> </b></span>tgt.onAdmission<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ExplanationOfBenefitProcedure<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.sequence<span style=\"color: navy\"><b> -> </b></span>tgt.sequence<span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.date<span style=\"color: navy\"><b> -> </b></span>tgt.date<span style=\"color: navy\">;</span>\r\n src.procedure<span style=\"color: navy\"> : </span>CodeableConcept<span style=\"color: navy\"><b> -> </b></span>tgt.procedure<span style=\"color: navy\">;</span>\r\n src.procedure<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -> </b></span>tgt.procedure<span style=\"color: navy\">;</span>\r\n src.udi<span style=\"color: navy\"><b> -> </b></span>tgt.udi<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ExplanationOfBenefitInsurance<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.focal<span style=\"color: navy\"><b> -> </b></span>tgt.focal<span style=\"color: navy\">;</span>\r\n src.coverage<span style=\"color: navy\"><b> -> </b></span>tgt.coverage<span style=\"color: navy\">;</span>\r\n src.preAuthRef<span style=\"color: navy\"><b> -> </b></span>tgt.preAuthRef<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ExplanationOfBenefitAccident<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.date<span style=\"color: navy\"><b> -> </b></span>tgt.date<span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.location<span style=\"color: navy\"> : </span>Address<span style=\"color: navy\"><b> -> </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n src.location<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -> </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ExplanationOfBenefitItem<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.sequence<span style=\"color: navy\"><b> -> </b></span>tgt.sequence<span style=\"color: navy\">;</span>\r\n src.careTeamSequence<span style=\"color: navy\"><b> -> </b></span>tgt.careTeamSequence<span style=\"color: navy\">;</span>\r\n src.diagnosisSequence<span style=\"color: navy\"><b> -> </b></span>tgt.diagnosisSequence<span style=\"color: navy\">;</span>\r\n src.procedureSequence<span style=\"color: navy\"><b> -> </b></span>tgt.procedureSequence<span style=\"color: navy\">;</span>\r\n src.informationSequence<span style=\"color: navy\"><b> -> </b></span>tgt.informationSequence<span style=\"color: navy\">;</span>\r\n src.revenue<span style=\"color: navy\"><b> -> </b></span>tgt.revenue<span style=\"color: navy\">;</span>\r\n src.category<span style=\"color: navy\"><b> -> </b></span>tgt.category<span style=\"color: navy\">;</span>\r\n src.productOrService<span style=\"color: navy\"><b> -> </b></span>tgt.productOrService<span style=\"color: navy\">;</span>\r\n src.modifier<span style=\"color: navy\"><b> -> </b></span>tgt.modifier<span style=\"color: navy\">;</span>\r\n src.programCode<span style=\"color: navy\"><b> -> </b></span>tgt.programCode<span style=\"color: navy\">;</span>\r\n src.serviced<span style=\"color: navy\"> : </span>date<span style=\"color: navy\"><b> -> </b></span>tgt.serviced<span style=\"color: navy\">;</span>\r\n src.serviced<span style=\"color: navy\"> : </span>Period<span style=\"color: navy\"><b> -> </b></span>tgt.serviced<span style=\"color: navy\">;</span>\r\n src.location<span style=\"color: navy\"> : </span>CodeableConcept<span style=\"color: navy\"><b> -> </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n src.location<span style=\"color: navy\"> : </span>Address<span style=\"color: navy\"><b> -> </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n src.location<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -> </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n src.quantity<span style=\"color: navy\"><b> -> </b></span>tgt.quantity<span style=\"color: navy\">;</span>\r\n src.unitPrice<span style=\"color: navy\"><b> -> </b></span>tgt.unitPrice<span style=\"color: navy\">;</span>\r\n src.factor<span style=\"color: navy\"><b> -> </b></span>tgt.factor<span style=\"color: navy\">;</span>\r\n src.net<span style=\"color: navy\"><b> -> </b></span>tgt.net<span style=\"color: navy\">;</span>\r\n src.udi<span style=\"color: navy\"><b> -> </b></span>tgt.udi<span style=\"color: navy\">;</span>\r\n src.bodySite<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.bodySite<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.site = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.subSite<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.bodySite<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.subSite = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.encounter<span style=\"color: navy\"><b> -> </b></span>tgt.encounter<span style=\"color: navy\">;</span>\r\n src.noteNumber<span style=\"color: navy\"><b> -> </b></span>tgt.noteNumber<span style=\"color: navy\">;</span>\r\n src.adjudication<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.adjudication<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitItemAdjudication<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.detail<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.detail<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitItemDetail<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group ExplanationOfBenefitItemBodySite(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.site -> tgt.site;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.subSite -> tgt.subSite;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">group ExplanationOfBenefitItemReviewOutcome(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.decision -> tgt.decision;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.reason -> tgt.reason;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.preAuthRef -> tgt.preAuthRef;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.preAuthPeriod -> tgt.preAuthPeriod;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>ExplanationOfBenefitItemAdjudication<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.category<span style=\"color: navy\"><b> -> </b></span>tgt.category<span style=\"color: navy\">;</span>\r\n src.reason<span style=\"color: navy\"><b> -> </b></span>tgt.reason<span style=\"color: navy\">;</span>\r\n src.amount<span style=\"color: navy\"><b> -> </b></span>tgt.amount<span style=\"color: navy\">;</span>\r\n src.value<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.quantity = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Quantity'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.value = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ExplanationOfBenefitItemDetail<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.sequence<span style=\"color: navy\"><b> -> </b></span>tgt.sequence<span style=\"color: navy\">;</span>\r\n src.revenue<span style=\"color: navy\"><b> -> </b></span>tgt.revenue<span style=\"color: navy\">;</span>\r\n src.category<span style=\"color: navy\"><b> -> </b></span>tgt.category<span style=\"color: navy\">;</span>\r\n src.productOrService<span style=\"color: navy\"><b> -> </b></span>tgt.productOrService<span style=\"color: navy\">;</span>\r\n src.modifier<span style=\"color: navy\"><b> -> </b></span>tgt.modifier<span style=\"color: navy\">;</span>\r\n src.programCode<span style=\"color: navy\"><b> -> </b></span>tgt.programCode<span style=\"color: navy\">;</span>\r\n src.quantity<span style=\"color: navy\"><b> -> </b></span>tgt.quantity<span style=\"color: navy\">;</span>\r\n src.unitPrice<span style=\"color: navy\"><b> -> </b></span>tgt.unitPrice<span style=\"color: navy\">;</span>\r\n src.factor<span style=\"color: navy\"><b> -> </b></span>tgt.factor<span style=\"color: navy\">;</span>\r\n src.net<span style=\"color: navy\"><b> -> </b></span>tgt.net<span style=\"color: navy\">;</span>\r\n src.udi<span style=\"color: navy\"><b> -> </b></span>tgt.udi<span style=\"color: navy\">;</span>\r\n src.noteNumber<span style=\"color: navy\"><b> -> </b></span>tgt.noteNumber<span style=\"color: navy\">;</span>\r\n src.subDetail<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.subDetail<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitItemDetailSubDetail<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ExplanationOfBenefitItemDetailSubDetail<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.sequence<span style=\"color: navy\"><b> -> </b></span>tgt.sequence<span style=\"color: navy\">;</span>\r\n src.revenue<span style=\"color: navy\"><b> -> </b></span>tgt.revenue<span style=\"color: navy\">;</span>\r\n src.category<span style=\"color: navy\"><b> -> </b></span>tgt.category<span style=\"color: navy\">;</span>\r\n src.productOrService<span style=\"color: navy\"><b> -> </b></span>tgt.productOrService<span style=\"color: navy\">;</span>\r\n src.modifier<span style=\"color: navy\"><b> -> </b></span>tgt.modifier<span style=\"color: navy\">;</span>\r\n src.programCode<span style=\"color: navy\"><b> -> </b></span>tgt.programCode<span style=\"color: navy\">;</span>\r\n src.quantity<span style=\"color: navy\"><b> -> </b></span>tgt.quantity<span style=\"color: navy\">;</span>\r\n src.unitPrice<span style=\"color: navy\"><b> -> </b></span>tgt.unitPrice<span style=\"color: navy\">;</span>\r\n src.factor<span style=\"color: navy\"><b> -> </b></span>tgt.factor<span style=\"color: navy\">;</span>\r\n src.net<span style=\"color: navy\"><b> -> </b></span>tgt.net<span style=\"color: navy\">;</span>\r\n src.udi<span style=\"color: navy\"><b> -> </b></span>tgt.udi<span style=\"color: navy\">;</span>\r\n src.noteNumber<span style=\"color: navy\"><b> -> </b></span>tgt.noteNumber<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ExplanationOfBenefitAddItem<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.itemSequence<span style=\"color: navy\"><b> -> </b></span>tgt.itemSequence<span style=\"color: navy\">;</span>\r\n src.detailSequence<span style=\"color: navy\"><b> -> </b></span>tgt.detailSequence<span style=\"color: navy\">;</span>\r\n src.subDetailSequence<span style=\"color: navy\"><b> -> </b></span>tgt.subDetailSequence<span style=\"color: navy\">;</span>\r\n src.provider<span style=\"color: navy\"><b> -> </b></span>tgt.provider<span style=\"color: navy\">;</span>\r\n src.productOrService<span style=\"color: navy\"><b> -> </b></span>tgt.productOrService<span style=\"color: navy\">;</span>\r\n src.modifier<span style=\"color: navy\"><b> -> </b></span>tgt.modifier<span style=\"color: navy\">;</span>\r\n src.programCode<span style=\"color: navy\"><b> -> </b></span>tgt.programCode<span style=\"color: navy\">;</span>\r\n src.serviced<span style=\"color: navy\"> : </span>date<span style=\"color: navy\"><b> -> </b></span>tgt.serviced<span style=\"color: navy\">;</span>\r\n src.serviced<span style=\"color: navy\"> : </span>Period<span style=\"color: navy\"><b> -> </b></span>tgt.serviced<span style=\"color: navy\">;</span>\r\n src.location<span style=\"color: navy\"> : </span>CodeableConcept<span style=\"color: navy\"><b> -> </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n src.location<span style=\"color: navy\"> : </span>Address<span style=\"color: navy\"><b> -> </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n src.location<span style=\"color: navy\"> : </span>Reference<span style=\"color: navy\"><b> -> </b></span>tgt.location<span style=\"color: navy\">;</span>\r\n src.quantity<span style=\"color: navy\"><b> -> </b></span>tgt.quantity<span style=\"color: navy\">;</span>\r\n src.unitPrice<span style=\"color: navy\"><b> -> </b></span>tgt.unitPrice<span style=\"color: navy\">;</span>\r\n src.factor<span style=\"color: navy\"><b> -> </b></span>tgt.factor<span style=\"color: navy\">;</span>\r\n src.net<span style=\"color: navy\"><b> -> </b></span>tgt.net<span style=\"color: navy\">;</span>\r\n src.bodySite<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.bodySite<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.site = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.subSite<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span> tgt.bodySite<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.subSite = <span style=\"color: maroon\">s</span><span style=\"color: navy\">;</span>\r\n src.noteNumber<span style=\"color: navy\"><b> -> </b></span>tgt.noteNumber<span style=\"color: navy\">;</span>\r\n src.detail<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.detail<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitAddItemDetail<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group ExplanationOfBenefitAddItemBodySite(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.site -> tgt.site;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.subSite -> tgt.subSite;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>ExplanationOfBenefitAddItemDetail<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.productOrService<span style=\"color: navy\"><b> -> </b></span>tgt.productOrService<span style=\"color: navy\">;</span>\r\n src.modifier<span style=\"color: navy\"><b> -> </b></span>tgt.modifier<span style=\"color: navy\">;</span>\r\n src.quantity<span style=\"color: navy\"><b> -> </b></span>tgt.quantity<span style=\"color: navy\">;</span>\r\n src.unitPrice<span style=\"color: navy\"><b> -> </b></span>tgt.unitPrice<span style=\"color: navy\">;</span>\r\n src.factor<span style=\"color: navy\"><b> -> </b></span>tgt.factor<span style=\"color: navy\">;</span>\r\n src.net<span style=\"color: navy\"><b> -> </b></span>tgt.net<span style=\"color: navy\">;</span>\r\n src.noteNumber<span style=\"color: navy\"><b> -> </b></span>tgt.noteNumber<span style=\"color: navy\">;</span>\r\n src.subDetail<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.subDetail<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitAddItemDetailSubDetail<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ExplanationOfBenefitAddItemDetailSubDetail<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.productOrService<span style=\"color: navy\"><b> -> </b></span>tgt.productOrService<span style=\"color: navy\">;</span>\r\n src.modifier<span style=\"color: navy\"><b> -> </b></span>tgt.modifier<span style=\"color: navy\">;</span>\r\n src.quantity<span style=\"color: navy\"><b> -> </b></span>tgt.quantity<span style=\"color: navy\">;</span>\r\n src.unitPrice<span style=\"color: navy\"><b> -> </b></span>tgt.unitPrice<span style=\"color: navy\">;</span>\r\n src.factor<span style=\"color: navy\"><b> -> </b></span>tgt.factor<span style=\"color: navy\">;</span>\r\n src.net<span style=\"color: navy\"><b> -> </b></span>tgt.net<span style=\"color: navy\">;</span>\r\n src.noteNumber<span style=\"color: navy\"><b> -> </b></span>tgt.noteNumber<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ExplanationOfBenefitTotal<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.category<span style=\"color: navy\"><b> -> </b></span>tgt.category<span style=\"color: navy\">;</span>\r\n src.amount<span style=\"color: navy\"><b> -> </b></span>tgt.amount<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ExplanationOfBenefitPayment<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.adjustment<span style=\"color: navy\"><b> -> </b></span>tgt.adjustment<span style=\"color: navy\">;</span>\r\n src.adjustmentReason<span style=\"color: navy\"><b> -> </b></span>tgt.adjustmentReason<span style=\"color: navy\">;</span>\r\n src.date<span style=\"color: navy\"><b> -> </b></span>tgt.date<span style=\"color: navy\">;</span>\r\n src.amount<span style=\"color: navy\"><b> -> </b></span>tgt.amount<span style=\"color: navy\">;</span>\r\n src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ExplanationOfBenefitProcessNote<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.number<span style=\"color: navy\"><b> -> </b></span>tgt.number<span style=\"color: navy\">;</span>\r\n src.type<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'display'<span style=\"color: navy\"><b> -> </b></span> tgt.type = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://hl7.org/fhir/note-type'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'display'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'display'</span><span style=\"color: navy\">;</span>\r\n src.type<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'print'<span style=\"color: navy\"><b> -> </b></span> tgt.type = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://hl7.org/fhir/note-type'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'print'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Print (Form)'</span><span style=\"color: navy\">;</span>\r\n src.type<b> as </b><span style=\"color: maroon\">s</span><b> where </b>code = 'printoper'<span style=\"color: navy\"><b> -> </b></span> tgt.type = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tc</span><span style=\"color: navy\">, </span> tc.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">tcc</span><span style=\"color: navy\">, </span> tcc.system = <span style=\"color: blue\">'http://hl7.org/fhir/note-type'</span><span style=\"color: navy\">, </span> tcc.code = <span style=\"color: blue\">'printoper'</span><span style=\"color: navy\">, </span> tcc.display = <span style=\"color: blue\">'Print (Operator)'</span><span style=\"color: navy\">;</span>\r\n src.text<span style=\"color: navy\"><b> -> </b></span>tgt.text<span style=\"color: navy\">;</span>\r\n src.language<span style=\"color: navy\"><b> -> </b></span>tgt.language<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ExplanationOfBenefitBenefitBalance<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.category<span style=\"color: navy\"><b> -> </b></span>tgt.category<span style=\"color: navy\">;</span>\r\n src.excluded<span style=\"color: navy\"><b> -> </b></span>tgt.excluded<span style=\"color: navy\">;</span>\r\n src.name<span style=\"color: navy\"><b> -> </b></span>tgt.name<span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -> </b></span>tgt.description<span style=\"color: navy\">;</span>\r\n src.network<span style=\"color: navy\"><b> -> </b></span>tgt.network<span style=\"color: navy\">;</span>\r\n src.unit<span style=\"color: navy\"><b> -> </b></span>tgt.unit<span style=\"color: navy\">;</span>\r\n src.term<span style=\"color: navy\"><b> -> </b></span>tgt.term<span style=\"color: navy\">;</span>\r\n src.financial<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -> </b></span>tgt.financial<b> as </b><span style=\"color: maroon\">t</span><b> then </b>ExplanationOfBenefitBenefitBalanceFinancial<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>ExplanationOfBenefitBenefitBalanceFinancial<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n src.allowed<span style=\"color: navy\"> : </span>unsignedInt<span style=\"color: navy\"><b> -> </b></span>tgt.allowed<span style=\"color: navy\">;</span>\r\n src.allowed<span style=\"color: navy\"> : </span>string<span style=\"color: navy\"><b> -> </b></span>tgt.allowed<span style=\"color: navy\">;</span>\r\n src.allowed<span style=\"color: navy\"> : </span>Money<span style=\"color: navy\"><b> -> </b></span>tgt.allowed<span style=\"color: navy\">;</span>\r\n src.used<span style=\"color: navy\"> : </span>unsignedInt<span style=\"color: navy\"><b> -> </b></span>tgt.used<span style=\"color: navy\">;</span>\r\n src.used<span style=\"color: navy\"> : </span>Money<span style=\"color: navy\"><b> -> </b></span>tgt.used<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/ExplanationOfBenefit4to5",
"version" : "0.1.0",
"name" : "ExplanationOfBenefit4to5",
"title" : "ExplanationOfBenefit Transforms: R4 to R5",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "ExplanationOfBenefitTransformsR4toR5",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/4.0/ExplanationOfBenefit",
"mode" : "source",
"alias" : "ExplanationOfBenefitR4"
},
{
"url" : "http://hl7.org/fhir/5.0/ExplanationOfBenefit",
"mode" : "target",
"alias" : "ExplanationOfBenefitR5"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*4to5"
],
"group" : [
{
"name" : "ExplanationOfBenefit",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "ExplanationOfBenefitR4",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "ExplanationOfBenefitR5",
"mode" : "target"
}
],
"rule" : [
{
"name" : "identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/ExplanationOfBenefit.status-R4toR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "subType",
"source" : [
{
"context" : "src",
"element" : "subType",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "subType",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "use",
"source" : [
{
"context" : "src",
"element" : "use",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "use",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/ExplanationOfBenefit.use-R4toR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "patient",
"source" : [
{
"context" : "src",
"element" : "patient",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "patient",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "billablePeriod",
"source" : [
{
"context" : "src",
"element" : "billablePeriod",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "billablePeriod",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "created",
"source" : [
{
"context" : "src",
"element" : "created",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "created",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "enterer",
"source" : [
{
"context" : "src",
"element" : "enterer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "enterer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "insurer",
"source" : [
{
"context" : "src",
"element" : "insurer",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "insurer",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "provider",
"source" : [
{
"context" : "src",
"element" : "provider",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "provider",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "priority",
"source" : [
{
"context" : "src",
"element" : "priority",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "priority",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "fundsReserveRequested",
"source" : [
{
"context" : "src",
"element" : "fundsReserveRequested",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "fundsReserveRequested",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "fundsReserve",
"source" : [
{
"context" : "src",
"element" : "fundsReserve",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "fundsReserve",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "related",
"source" : [
{
"context" : "src",
"element" : "related",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "related",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ExplanationOfBenefitRelated",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "prescription",
"source" : [
{
"context" : "src",
"element" : "prescription",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "prescription",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "originalPrescription",
"source" : [
{
"context" : "src",
"element" : "originalPrescription",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "originalPrescription",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "payee",
"source" : [
{
"context" : "src",
"element" : "payee",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "payee",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ExplanationOfBenefitPayee",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "referral",
"source" : [
{
"context" : "src",
"element" : "referral",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "referral",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "facility",
"source" : [
{
"context" : "src",
"element" : "facility",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "facility",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "claim",
"source" : [
{
"context" : "src",
"element" : "claim",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "claim",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "claimResponse",
"source" : [
{
"context" : "src",
"element" : "claimResponse",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "claimResponse",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "outcome",
"source" : [
{
"context" : "src",
"element" : "outcome",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "outcome",
"transform" : "translate",
"parameter" : [
{
"valueId" : "v"
},
{
"valueString" : "http://hl7.org/fhir/ConceptMap/ExplanationOfBenefit.outcome-R4toR5"
},
{
"valueString" : "code"
}
]
}
]
},
{
"name" : "disposition",
"source" : [
{
"context" : "src",
"element" : "disposition",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "disposition",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "preAuthRef",
"source" : [
{
"context" : "src",
"element" : "preAuthRef",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "preAuthRef",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "preAuthRefPeriod",
"source" : [
{
"context" : "src",
"element" : "preAuthRefPeriod",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "preAuthRefPeriod",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "careTeam",
"source" : [
{
"context" : "src",
"element" : "careTeam",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "careTeam",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ExplanationOfBenefitCareTeam",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "supportingInfo",
"source" : [
{
"context" : "src",
"element" : "supportingInfo",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "supportingInfo",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ExplanationOfBenefitSupportingInfo",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "diagnosis",
"source" : [
{
"context" : "src",
"element" : "diagnosis",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "diagnosis",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ExplanationOfBenefitDiagnosis",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "procedure",
"source" : [
{
"context" : "src",
"element" : "procedure",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "procedure",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ExplanationOfBenefitProcedure",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "precedence",
"source" : [
{
"context" : "src",
"element" : "precedence",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "precedence",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "insurance",
"source" : [
{
"context" : "src",
"element" : "insurance",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "insurance",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ExplanationOfBenefitInsurance",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "accident",
"source" : [
{
"context" : "src",
"element" : "accident",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "accident",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ExplanationOfBenefitAccident",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "item",
"source" : [
{
"context" : "src",
"element" : "item",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "item",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ExplanationOfBenefitItem",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "addItem",
"source" : [
{
"context" : "src",
"element" : "addItem",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "addItem",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ExplanationOfBenefitAddItem",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "total",
"source" : [
{
"context" : "src",
"element" : "total",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "total",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ExplanationOfBenefitTotal",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "payment",
"source" : [
{
"context" : "src",
"element" : "payment",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "payment",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ExplanationOfBenefitPayment",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "formCode",
"source" : [
{
"context" : "src",
"element" : "formCode",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "formCode",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "form",
"source" : [
{
"context" : "src",
"element" : "form",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "form",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "processNote",
"source" : [
{
"context" : "src",
"element" : "processNote",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "processNote",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ExplanationOfBenefitProcessNote",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
},
{
"name" : "benefitPeriod",
"source" : [
{
"context" : "src",
"element" : "benefitPeriod",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "benefitPeriod",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "benefitBalance",
"source" : [
{
"context" : "src",
"element" : "benefitBalance",
"variable" : "s"
}
],
"target" : [
{
"context" : "tgt",
"element" : "benefitBalance",
"variable" : "t"
}
],
"dependent" : [
{
"name" : "ExplanationOfBenefitBenefitBalance",
"parameter" : [
{
"valueId" : "s"
},
{
"valueId" : "t"
}
]
}
]
}
]
},
{
"name" : "ExplanationOfBenefitRelated",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "claim",
"source" : [
{
"context" : "src",
"element" : "claim",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "claim",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "relationship",
"source" : [
{
"context" : "src",
"element" : "relationship",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "relationship",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "reference",
"source" : [
{
"context" : "src",
"element" : "reference",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "reference",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "ExplanationOfBenefitPayee",
"extends" : "BackboneElement",
"documentation" : "group ExplanationOfBenefitEvent(source src, target tgt) extends BackboneElement {\r\nsrc.type -> tgt.type;\r\nsrc.when : dateTime -> tgt.when;\r\nsrc.when : Period -> tgt.when;\r\n}",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "party",
"source" : [
{
"context" : "src",
"element" : "party",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "party",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "ExplanationOfBenefitCareTeam",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "sequence",
"source" : [
{
"context" : "src",
"element" : "sequence",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "sequence",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "provider",
"source" : [
{
"context" : "src",
"element" : "provider",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "provider",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "responsible",
"source" : [
{
"context" : "src",
"element" : "responsible",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "responsible",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "role",
"source" : [
{
"context" : "src",
"element" : "role",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "role",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "qualification",
"source" : [
{
"context" : "src",
"element" : "qualification",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "specialty",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "ExplanationOfBenefitSupportingInfo",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "sequence",
"source" : [
{
"context" : "src",
"element" : "sequence",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "sequence",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "category",
"source" : [
{
"context" : "src",
"element" : "category",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "category",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "code",
"source" : [
{
"context" : "src",
"element" : "code",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "code",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "timingDate",
"source" : [
{
"context" : "src",
"type" : "date",
"element" : "timing",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "timing",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "timingPeriod",
"source" : [
{
"context" : "src",
"type" : "Period",
"element" : "timing",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "timing",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueBoolean",
"source" : [
{
"context" : "src",
"type" : "boolean",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueString",
"source" : [
{
"context" : "src",
"type" : "string",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueQuantity",
"source" : [
{
"context" : "src",
"type" : "Quantity",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueAttachment",
"source" : [
{
"context" : "src",
"type" : "Attachment",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "valueReference",
"source" : [
{
"context" : "src",
"type" : "Reference",
"element" : "value",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "value",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "reason",
"source" : [
{
"context" : "src",
"element" : "reason",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "reason",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "ExplanationOfBenefitDiagnosis",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "sequence",
"source" : [
{
"context" : "src",
"element" : "sequence",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "sequence",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "diagnosisCodeableConcept",
"source" : [
{
"context" : "src",
"type" : "CodeableConcept",
"element" : "diagnosis",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "diagnosis",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "diagnosisReference",
"source" : [
{
"context" : "src",
"type" : "Reference",
"element" : "diagnosis",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "diagnosis",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "onAdmission",
"source" : [
{
"context" : "src",
"element" : "onAdmission",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "onAdmission",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "ExplanationOfBenefitProcedure",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "sequence",
"source" : [
{
"context" : "src",
"element" : "sequence",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "sequence",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "date",
"source" : [
{
"context" : "src",
"element" : "date",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "date",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "procedureCodeableConcept",
"source" : [
{
"context" : "src",
"type" : "CodeableConcept",
"element" : "procedure",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "procedure",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "procedureReference",
"source" : [
{
"context" : "src",
"type" : "Reference",
"element" : "procedure",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "procedure",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "udi",
"source" : [
{
"context" : "src",
"element" : "udi",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "udi",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "ExplanationOfBenefitInsurance",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "focal",
"source" : [
{
"context" : "src",
"element" : "focal",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "focal",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "coverage",
"source" : [
{
"context" : "src",
"element" : "coverage",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "coverage",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "preAuthRef",
"source" : [
{
"context" : "src",
"element" : "preAuthRef",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "preAuthRef",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "ExplanationOfBenefitAccident",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "date",
"source" : [
{
"context" : "src",
"element" : "date",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "date",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "locationAddress",
"source" : [
{
"context" : "src",
"type" : "Address",
"element" : "location",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "location",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "locationReference",
"source" : [
{
"context" : "src",
"type" : "Reference",
"element" : "location",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "location",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
},
{
"name" : "ExplanationOfBenefitItem",
"extends" : "BackboneElement",
"input" : [
{
"name" : "src",
"mode" : "source"
},
{
"name" : "tgt",
"mode" : "target"
}
],
"rule" : [
{
"name" : "sequence",
"source" : [
{
"context" : "src",
"element" : "sequence",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "sequence",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "careTeamSequence",
"source" : [
{
"context" : "src",
"element" : "careTeamSequence",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "careTeamSequence",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "diagnosisSequence",
"source" : [
{
"context" : "src",
"element" : "diagnosisSequence",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "diagnosisSequence",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "procedureSequence",
"source" : [
{
"context" : "src",
"element" : "procedureSequence",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "procedureSequence",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "informationSequence",
"source" : [
{
"context" : "src",
"element" : "informationSequence",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "informationSequence",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "revenue",
"source" : [
{
"context" : "src",
"element" : "revenue",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "revenue",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "category",
"source" : [
{
"context" : "src",
"element" : "category",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "category",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "productOrService",
"source" : [
{
"context" : "src",
"element" : "productOrService",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "productOrService",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "modifier",
"source" : [
{
"context" : "src",
"element" : "modifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "modifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "programCode",
"source" : [
{
"context" : "src",
"element" : "programCode",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "programCode",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "servicedDate",
"source" : [
{
"context" : "src",
"type" : "date",
"element" : "serviced",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "serviced",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "servicedPeriod",
"source" : [
{
"context" : "src",
"type" : "Period",
"element" : "serviced",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "serviced",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "locationCodeableConcept",
"source" : [
{
"context" : "src",
"type" : "CodeableConcept",
"element" : "location",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "location",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "locationAddress",
"source" : [
{
"context" : "src",
"type" : "Address",
"element" : "location",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "location",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "locationReference",
"source" : [
{
"context" : "src",
"type" : "Reference",
"element" : "location",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "location",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "quantity",
"source" : [
{
"context" : "src",
"element" : "quantity",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "quantity",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "unitPrice",
"source" : [
{
"context" : "src",
"element" : "unitPrice&